//引入mockjs
import Mock from 'mockjs';
//导入login.js和message.js，这样只需导入index.js，
//即可使用这两个mock文件
require('./login.js');
require('./P_recommend.js');
require('./UserInfo.js');
require('./file.js');
require('./register.js');
require('./user.js');
// require('./P_recommend.js');

//启动mock，timeout表示模拟的请求延迟
Mock.setup({
  timeout: 0-500,
})

// import Mock from './api/user.js';